<?php
require_once 'init_app.php';

set_time_limit(0); 

$coupon = ORM::factory('coupon', 1);
$coupon->mark_products();

echo "ok\n";